file(GLOB HEADERS "include/steem/plugins/transaction_status_api/*.hpp")

add_library( transaction_status_api_plugin
             transaction_status_api.cpp
             transaction_status_api_plugin.cpp
             ${HEADERS}
           )

target_link_libraries( transaction_status_api_plugin transaction_status_plugin json_rpc_plugin )
target_include_directories( transaction_status_api_plugin
                            PUBLIC "${CMAKE_CURRENT_SOURCE_DIR}/include" )

if( CLANG_TIDY_EXE )
   set_target_properties(
      database_api_plugin PROPERTIES
      CXX_CLANG_TIDY "${DO_CLANG_TIDY}"
   )
endif( CLANG_TIDY_EXE )

install( TARGETS
   transaction_status_api_plugin

   RUNTIME DESTINATION bin
   LIBRARY DESTINATION lib
   ARCHIVE DESTINATION lib
)
